<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP 'yunba.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link type="text/css" href="css/jquery-ui-1.8.17.custom.css" rel="stylesheet" />
    <link type="text/css" href="css/jquery-ui-timepicker-addon.css" rel="stylesheet" />
	<meta http-equiv="Content-Type" content="text/html charset=gb2312">
	<script type="text/javascript" src="${pageContext.request.contextPath }/calendar/WdatePicker.js"></script>
	<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="js/jquery-ui-1.8.17.custom.min.js"></script>
	<script type="text/javascript" src="js/jquery-ui-timepicker-addon.js"></script>
    <script type="text/javascript" src="js/jquery-ui-timepicker-zh-CN.js"></script>
	
	<script type="text/javascript">
    $(function () {
        $(".ui_timepicker").datetimepicker({
            //showOn: "button",
            //buttonImage: "./css/images/icon_calendar.gif",
            //buttonImageOnly: true,
            showSecond: true,
            timeFormat: 'hh:mm:ss',
            stepHour: 1,
            stepMinute: 1,
            stepSecond: 1
        });
    });
    </script>
	
  </head>
  <body>
  	<form action="<%=path%>/v1/wwluserinfo" method="post">
  		获取当前时间<input type="text" name="starttime" class="ui_timepicker" value="">
  		&nbsp;&nbsp;&nbsp;
  		<select name="idnumber">
  			<option value="pad序列号">pad序列号</option>
  			<option value="C8W7KLDTAN">C8W7KLDTAN</option>
  			<option value="C8W7KJ0CL6">C8W7KJ0CL6</option>
  			<option value="a0c9cc92a2468159">a0c9cc92a2468159</option>
  		</select>
  		&nbsp;&nbsp;&nbsp;
  		<input type="submit" class="scbtn" value="查询"/>
	</form>
	<hr/>
	<form action="<%=path%>/v1/wwlcommunication" method="post">
  		<select name="idnumber">
  			<option value="pad序列号">pad序列号</option>
  			<option value="C8W7KLDTAN">C8W7KLDTAN</option>
  		</select>
  		&nbsp;&nbsp;&nbsp;
  		<input type="submit" class="scbtn" value="查询"/>
	</form>
	<hr/>
	<form action="<%=path%>/v1/wwlcount" method="post">
		<select name="id">
  			<option value="用户id">用户id</option>
  			<option value="14820">14820</option>
  			<option value="424">424</option>
  			<option value="5004">5004</option>
  			<option value="10933">10933</option>
  		</select>
  		&nbsp;&nbsp;&nbsp;
	           日期<input type="text" name="datetime" class="ui_timepicker" value="">
  		&nbsp;&nbsp;&nbsp;
  		<select name="idnumber">
  			<option value="pad序列号">pad序列号</option>
  			<option value="C8W7KLDTAN">C8W7KLDTAN</option>
  		</select>
  		<select name="doortype">
  			<option value="开门类型">开门类型</option>
  			<option value="Face">Face</option>
  			<option value="icC">icC</option>
  		</select>
  		<select name="usertype">
  			<option value="开门类型">用户类型</option>
  			<option value="0">0</option>
  			<option value="1">1</option>
  		</select>
  		&nbsp;&nbsp;&nbsp;
  		<input type="submit" class="scbtn" value="查询"/>
  		
  	</form>
  	
  	
  	<hr/>
	<form action="<%=path%>/v1/wwlfail" method="post">
		<select name="id">
  			<option value="用户id">用户id</option>
  			<option value="1">1</option>
  			<option value="2">2</option>
  			<option value="3">3</option>
  		</select>
  		&nbsp;&nbsp;&nbsp;
  		<select name="pad">
  			<option value="pad序列号">pad序列号</option>
  			<option value="C8W7KLDTAN">C8W7KLDTAN</option>
  		</select>
  		
  		<select name="failtype">
  			<option value="失败类型">失败类型</option>
  			<option value="-6">-6</option>
  			<option value="-7">-7</option>
  		</select>
  		
  		<select name="usertype">
  			<option value="用户类型">用户类型</option>
  			<option value="0">业主</option>
  			<option value="1">访客</option>
  		</select>
  		&nbsp;&nbsp;&nbsp;
  		<input type="submit" class="scbtn" value="查询"/>
  		
  		
  		
  	</form>
  	
  	<hr/>
	<form action="<%=path%>/v2/wwlfail" method="post">
		<select name="id">
  			<option value="用户id">用户id</option>
  			<option value="1">1</option>
  			<option value="2">2</option>
  			<option value="3">3</option>
  		</select>
  		&nbsp;&nbsp;&nbsp;
  		<select name="gun">
  			<option value="gun序列号">gun序列号</option>
  			<option value="C8W7KLDTAN">C8W7KLDTAN</option>
  		</select>
  		
  		<select name="usertype">
  			<option value="用户类型">用户类型</option>
  			<option value="0">业主</option>
  			<option value="1">访客</option>
  		</select>
  		&nbsp;&nbsp;&nbsp;
  		<input type="submit" class="scbtn" value="查询"/>
  	</form>
  </body>
</html>
